namespace nDeveloper.VSS.DifferenceEngine
{
    using System;

    public class TextLine : IComparable
    {
        public int _hash;
        public string Line;

        public TextLine(string str)
        {
            this.Line = str.Replace("\t", "    ");
            this._hash = str.GetHashCode();
        }

        public int CompareTo(object obj)
        {
            return this._hash.CompareTo(((TextLine) obj)._hash);
        }
    }
}

